package com.study.utils;

import com.google.common.collect.Lists;
import org.junit.jupiter.api.Test;

import java.util.ArrayList;
import java.util.stream.Collectors;

/**
 * @author zhuzi
 * 2025/5/1 下午6:03
 */
public class GuavaList {
    @Test
    public void lsitTest() {

        ArrayList<Long> longs = Lists.newArrayList(1L, 2L, 3L);


        String collect = longs.stream().map(String::valueOf).collect(Collectors.joining(","));
        System.out.println(collect);
    }
}
